package it.sebsibenal.client;

import it.sebsibenal.shared.Operazione;
import it.sebsibenal.shared.Song;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("sendEmail.rpc")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	List<Song> getSongs();
	Song saveSong(Song song, Operazione operazione);
	
	Song removeYoutubeLink(String link, Song song);
	Song addYoutubeLink(String link, Song selectedSong);
	Song addComment(String string, Song selectedSong);
	Song aggiungiCartella(String text);
	String elencoCartelle();
}
